﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Knlght.Domain
{
    /// <summary>
    /// 应用程序异常
    /// </summary>
    public class EJApplicationException : ApplicationException
    {
        public EJApplicationException(string message, int exceptionCode = ResultCodeConstants.ERROR) : base(message)
        {
            this.ExceptionCode = exceptionCode;
        }
        /// <summary>
        /// 异常编号
        /// </summary>
        public int ExceptionCode { get; set; }
    }
}
